home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9744 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  575 b 

  1. Path: coranto.ucs.mun.ca!usenet
  2. From: saustin@terra.nlnet.nf.ca (Steve Austin)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help referencing an array of strings
  5. Date: Wed, 13 Mar 1996 02:34:29 GMT
  6. Organization: Kickham Productions
  7. Message-ID: <4i5c74$80e@coranto.ucs.mun.ca>
  8. References: <313C7F02.5D54@interramp.com>
  9. NNTP-Posting-Host: n104h133.nlnet.nf.ca
  10. X-Newsreader: Forte Agent .99b.112
  11.  
  12. "James A. Clifton" <jclifton@interramp.com> wrote:
  13.  
  14. >typedef struct ss {
  15. >/* some other data */
  16. >char sa[N][M];
  17. >} ss;
  18. >
  19. >ss s;
  20. >
  21. >Now how do I reference the Nth string??? 
  22.  
  23. s.sa[N]
  24.  
  25. Steve
  26.  
  27.